package com.hdw.auth.mapper;

import com.hdw.auth.bean.model.SysUseTag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * SysUseTag数据接口
 */
@Mapper
public interface SysUseTagMapper {

	List<SysUseTag> findByModel(SysUseTag sysUseTag);

	int deleteByPrimaryKey(Integer id);

	int insert(SysUseTag sysUseTag);

	int insertSelective(SysUseTag sysUseTag);

	SysUseTag selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(SysUseTag sysUseTag);

	int updateByPrimaryKey(SysUseTag sysUseTag);

	List<Map<String,Object>> findByUseId(Integer useId);

	int delete(@Param("useId") Integer userId,@Param("tagId")Integer tagId);


}